body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #e74c3c;
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #e74c3c;
}

.btn {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-profile, .btn-logout {
    background-color: transparent;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    margin-left: 10px;
}

.btn-profile:hover, .btn-logout:hover {
    background-color: #e74c3c;
    color: white;
}

.page-title {
    margin: 30px 0;
    color: #333;
    text-align: center;
}

.user-dashboard {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.user-info, .user-actions-section {
    margin-bottom: 30px;
}

.user-actions-section button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.user-actions-section button:hover {
    background-color: #c0392b;
}

/* 推荐商品样式 */
#featured-products {
    margin-top: 40px;
}

.product-slider {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product-card {
    flex: 0 0 31%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px;
    font-size: 18px;
}

.price {
    color: #e74c3c;
    font-weight: bold;
    padding: 0 15px 10px;
}

.btn-add-to-cart {
    display: block;
    padding: 8px 0;
    background-color: #e74c3c;
    color: white;
    border: none;
    text-align: center;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 4px;
    margin: 0 15px 15px;
}

.btn-add-to-cart:hover {
    background-color: #c0392b;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}